package com.example.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;

@Entity(name = "t_comment")
@Data
public class Comment implements Serializable {
    @Id
    private Integer id;
    private String author;
    private String content;
    @Column(name = "a_id")
    private Integer aId;
}
